package com.example.shop_2208.entity

/**
 * 商品分类实体类
 */
data class CategoryEntityResult(
    val code: Int,
    val `data`: List<CategoryEntity>,
    val message: String
)

/**
 * 一级分类：电脑办公、手机数码、男装、女装(因为一级分类和二级分类实体类相同，可直接复用)
 */
data class CategoryEntity(
    val category_icon: String?,
    val category_name: String,
    val `data`: List<CategoryEntity>?,
    val id: Int,
    val parent_id: Int
)

/**
 * 电脑办公中的apple\thinkpad
 */
/*
data class DataX(
    val category_icon: String,
    val category_name: String,
    val `data`: Any,
    val id: Int,
    val parent_id: Int
)*/
